/**
 * DivInstruction(a,b).act() => a=a/b
 * if b=0 throws an ArithmeticException
 * @author Patrik
 */
public class MovInstruction implements InstructionInterface {

	IntWrapper param1;
	IntWrapper param2;
	
	public MovInstruction(IntWrapper a,IntWrapper b){
		param1=a;
		param2=b;
	}
	
	@Override
	public Integer act() {
		param1.set(param2.get());
		return null;
	}

}
